package com.company.nuwa.redis.support.lock;

import java.util.concurrent.TimeUnit;

/**
 * <p>lock failure strategy</p >
 *
 * @author youyoukele
 * @version 1.0
 * @date 2021/12/20
 */
public interface LockFailureStrategy {

    /**
     * on lock failure
     *
     * @param lockKey
     * @param waitTime
     * @param unit
     */
    void onLockFailure(String lockKey, int waitTime, TimeUnit unit);

}
